<?php

/*
 * 插件配置文件
 * 雨中漫步
 */
return array(
	//基本信息
	'baseinfo' => array(
		'id' => 'jy_vcode',
		'rand' => 49,//越大，插件执行顺序越靠后，rand>0
	),
	//更多信息
	'moreinfo' => array(
		'name' => '均源验证码插件',
		'author' => 'KeHill',
		'des' => '用户登录、注册、发帖、回帖验证码 （KeHill修改雨中漫步的验证码插件，修复刷新验证码而不是刷新整个页面）',
	),
	//自定义control
	'controls' => array(
		'control_vcode'
	),
	//自定义model
	'models' => array(),
	//自定义template
	'template' => array(
		'vcode_set.tpl'
	),
	//PHP中用到的hook
	'phphooks' => array(
		'ctr_user_ckeck_register_before',
		'ctr_user_login_before_make_ssid',
		'ctr_simpost_simptalkadd_bbs_after',
		'ctr_simpost_simpcommadd_parse_after',
		'ctr_simpost_simpsubadd_parse_after',
		'ctr_index_parent_init_after',
		'ctr_simpost_init_init_end'
	),
	//模板中用到的hook
	'tplhooks' => array(
		'tpl_user_register_form_last',
		'tpl_user_login_login_form',
		'tpl_post_talkadd_in_in_form',
		'tpl_post_subadd_in_in_form',
		'tpl_post_commadd_in_in_form',
		'tpl_index_talk_in_form',
		'tpl_index_subreply_in_form',
		'tpl_index_forum_in_form',
		'tpl_index_comm_in_form',
		'tpl_admin_set_menu_end'
	),
);

?>